summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/bid/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/bid/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/bid/page.tsx12
1 files changed, 9 insertions, 3 deletions
diff --git a/app/[lng]/evcp/(evcp)/bid/page.tsx b/app/[lng]/evcp/(evcp)/bid/page.tsx
index 0e129e8a..c477e4f8 100644
--- a/app/[lng]/evcp/(evcp)/bid/page.tsx
+++ b/app/[lng]/evcp/(evcp)/bid/page.tsx
@@ -6,7 +6,9 @@ import {
getBiddingStatusCounts,
getBiddingTypeCounts,
getBiddingManagerCounts,
- getBiddingMonthlyStats
+ getBiddingMonthlyStats,
+ getActivePaymentTerms,
+ getActiveIncoterms
} from "@/lib/bidding/service"
import { searchParamsCache } from "@/lib/bidding/validation"
import { BiddingsPageHeader } from "@/lib/bidding/list/biddings-page-header"
@@ -42,6 +44,8 @@ export default async function BiddingsPage(props: IndexPageProps) {
getBiddingTypeCounts(),
getBiddingManagerCounts(),
getBiddingMonthlyStats(),
+ getActivePaymentTerms(),
+ getActiveIncoterms(),
])
return (
@@ -89,10 +93,12 @@ async function BiddingsStatsCardsWrapper({
Awaited<ReturnType<typeof getBiddingStatusCounts>>,
Awaited<ReturnType<typeof getBiddingTypeCounts>>,
Awaited<ReturnType<typeof getBiddingManagerCounts>>,
- Awaited<ReturnType<typeof getBiddingMonthlyStats>>
+ Awaited<ReturnType<typeof getBiddingMonthlyStats>>,
+ Awaited<ReturnType<typeof getActivePaymentTerms>>,
+ Awaited<ReturnType<typeof getActiveIncoterms>>
]>
}) {
- const [biddingsResult, statusCounts, typeCounts, managerCounts, monthlyStats] = await promises
+ const [biddingsResult, statusCounts, typeCounts, managerCounts, monthlyStats, paymentTermsResult, incotermsResult] = await promises
return (
<BiddingsStatsCards